package com.skb.core.model.controller;

    import com.skb.core.model.Segment;
    import com.skb.core.model.User;

    import java.io.Serializable;

public class AccountModel implements Serializable {

    private Integer id;

    private String username;

    private String number;

    private Double balance = 0d;

    private String segment;

    private User user;

    private Segment segmentObj;

    public AccountModel() {}


    /* AKCESORY */

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public String getSegment() {
        return segment;
    }

    public void setSegment(String segment) {
        this.segment = segment;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Segment getSegmentObj() {
        return segmentObj;
    }

    public void setSegmentObj(Segment segmentObj) {
        this.segmentObj = segmentObj;
    }
}
